projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a83787
)
range: fix fill level for vertical inverted scales
author
Cosimo Cecchi
<cosimoc@gnome.org>
Mon, 29 Feb 2016 20:53:08 +0000
(12:53 -0800)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Mon, 29 Feb 2016 20:53:08 +0000
(12:53 -0800)
gtk/gtkrange.c
patch
|
blob
|
history
diff --git
a/gtk/gtkrange.c
b/gtk/gtkrange.c
index b665ec299bfd62849aff5a7c21c82cc4ed3cf917..bbfd3bc61024df22d9d4b4ebc0aa75240eef3fca 100644
(file)
--- a/
gtk/gtkrange.c
+++ b/
gtk/gtkrange.c
@@
-1940,7
+1940,7
@@
gtk_range_allocate_trough (GtkCssGadget *gadget,
fill_alloc.height *= fill;
if (should_invert (range))
- fill_alloc.y += allocation->height -
(fill_alloc.height * fill)
;
+ fill_alloc.y += allocation->height -
fill_alloc.height
;
}
gtk_css_gadget_allocate (priv->fill_gadget,